package com.aaa.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
    * 商品扩展信息
    */
@Data
@TableName(value = "tb_prd_extend")
public class TbPrdExtend implements Serializable {
    @TableId(value = "tid", type = IdType.INPUT)
    private String tid;

    /**
     * 供应商
     */
    @TableField(value = "supplier_name")
    private String supplierName;

    /**
     * 长描述
     */
    @TableField(value = "long_desc")
    private String longDesc;

    /**
     * 重量
     */
    @TableField(value = "weight")
    private String weight;

    /**
     * 产地
     */
    @TableField(value = "origin")
    private String origin;

    /**
     * 售出数量
     */
    @TableField(value = "saled_qty")
    private Integer saledQty;

    @TableField(value = "create_by")
    private String createBy;

    @TableField(value = "create_date")
    private Date createDate;

    @TableField(value = "update_by")
    private String updateBy;

    @TableField(value = "update_date")
    private Date updateDate;

    @TableField(value = "remark")
    private String remark;

    @TableField(value = "version")
    private Integer version;

    @TableField(value = "state")
    private Integer state;

    public static final String COL_TID = "tid";

    public static final String COL_SUPPLIER_NAME = "supplier_name";

    public static final String COL_LONG_DESC = "long_desc";

    public static final String COL_WEIGHT = "weight";

    public static final String COL_ORIGIN = "origin";

    public static final String COL_SALED_QTY = "saled_qty";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_CREATE_DATE = "create_date";

    public static final String COL_UPDATE_BY = "update_by";

    public static final String COL_UPDATE_DATE = "update_date";

    public static final String COL_REMARK = "remark";

    public static final String COL_VERSION = "version";

    public static final String COL_STATE = "state";
}